<?php
class Database {
	$type = $config['database_type'];
	$table;

	function __construct(string $table) {
		$this->$table = $table;
	}

	function get(string $field, string $content) {
		if($type == 'mysql') {
			$data = mysql_connect($config['host'], $config['user'], $config['pass'], $config['database']);
		}
		elseif($type == 'sqlite') {
			$data = sqlite_connect($config['host'], $config['user'], $config['pass'], $config['database']);
		}
	}
}
?>
